package com.example.kugou.vo;

import com.example.kugou.pojo.Sing;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;


@ApiModel("查询榜单的实体类")
public class BangdanVO {
    @ApiModelProperty("信息")
    private String msg;
    @ApiModelProperty("发送信息的状态")
    private boolean status;
    @ApiModelProperty("按照榜单存放的前三十首歌曲")
    private List<Sing> sings;
    @ApiModelProperty("确定要查询的是哪个榜单，biaosheng就是飙升榜，xinge就是新歌榜")
    private String type;

    public BangdanVO() {
    }

    public BangdanVO(String msg, boolean status) {
        this.msg = msg;
        this.status = status;
    }

    public BangdanVO(String msg, boolean status, List<Sing> sings, String type) {
        this.msg = msg;
        this.status = status;
        this.sings = sings;
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public List<Sing> getSings() {
        return sings;
    }

    public void setSings(List<Sing> sings) {
        this.sings = sings;
    }

    @Override
    public String toString() {
        return "BangdanVO{" +
                "msg='" + msg + '\'' +
                ", status=" + status +
                ", sings=" + sings +
                ", type='" + type + '\'' +
                '}';
    }
}
